<%@ taglib prefix="s" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="sf" uri="http://www.springframework.org/tags/form"%>
<%@ page session="false" %>


<div>
<h2>Registration.  Become a kungkher!</h2>

<s:url value="/kungkherRego" var="kungkherform_url" />

<sf:form method="POST" modelAttribute="kungkherRegoFormObject"  enctype="multipart/form-data" action="${kungkherform_url}" >         
   <fieldset> 
   <table cellspacing="0" border="1">
      <tr>
         <th><sf:label path="fullName">Full name:</sf:label></th>
         <td><sf:input path="fullName" size="15" /><br/>
             </td>
         <td><small>eg John Wayne, Maureen O'Hara</small><br/>
             <sf:errors path="fullName" cssClass="error" /></td>
      </tr>
      <tr>
         <th><sf:label path="kungkherName">Kungkher name:</sf:label></th>
         <td><sf:input path="kungkherName" size="15" maxlength="15" /></td>
         <td> <small id="kungkherName_msg">(your unique public identifier on the site. 15 or less characters, alphanumeric and underscore only)</small><br/>
             <sf:errors path="kungkherName" cssClass="error" /></td>

         
      </tr>
      <tr>
         <th><sf:label path="password">Password:</sf:label></th>
         <td><sf:password path="password" size="30" 
                            showPassword="true"/></td>
         <td><small>(6-15 characters)</small><br/>
             <sf:errors path="password" cssClass="error" />
            </td>
      </tr>
      
      <tr>
         <th><sf:label path="confirmPassword">Confirm password:</sf:label></th>
         <td><sf:password path="confirmPassword" size="30" 
                            showPassword="true"/></td>
         <td>
             <sf:errors path="confirmPassword" cssClass="error" />
            </td>
      </tr>
      
      

      <tr>
         <th><sf:label path="email">Email address:</sf:label></th>

         <td><sf:input path="email" size="30"/></td>
         <td><small>(for password reminders)</small><br/>
             <sf:errors path="email" cssClass="error" />
            </td>
      </tr>
      
      <tr>
         <th><sf:label path="confirmEmail">Confirm email address:</sf:label></th>

         <td><sf:input path="confirmEmail" size="30"/></td>
         <td>
             <sf:errors path="confirmEmail" cssClass="error" />
            </td>
      </tr>
      
      
      <!--<start id="interests_field"/>--> 
      <tr>
        <th><sf:label path="interests">Interests:</sf:label></th>
        <td><sf:input path="interests" type="text" /></td>
        <td><small>(optional, to help identify kungkhers with similar interests)</small><br/>
      </tr>
      <!--<end id="interests_field"/>--> 
      <!--<tr>
         <th></th>
         <td colspan="2" valign="center">
            <sf:checkbox path="updateByEmail"/>
            <small>(Please send me a weekly update on kungkhie activity related to my interests)</small>

         </td>
      </tr>
      <tr>
         <th></th>
         <td>
            <input type="checkbox" />
            <small> I accept terms &AMP; conditions.</small></td>

   <td></td>
      </tr>-->
      
      <tr>
         <th></th>
         <td><input name="commit" type="submit" 
                    value="Create my account." /></td>
         <td></td>
      </tr>
   </table>
</fieldset>
</sf:form>
</div>
